package com.sgb.kjwl.model.entity.supplier3;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.Objects;

/**
 * 发现供应商 接口实体
 *
 * @author Administrator
 */
public class SupplierRecommendEntity implements Serializable {
    @SerializedName("no")
    private String no;
    @SerializedName("companyId")
    private String companyId;
    @SerializedName("isAuth")
    private String isAuth;
    @SerializedName("address")
    private String address;
    @SerializedName("distance")
    private String distance;
    @SerializedName("authYear")
    private String authYear;
    @SerializedName("name")
    private String name;
    @SerializedName("mainBusiness")
    private String mainBusiness;
    @SerializedName("latitude")
    private String latitude;
    @SerializedName("longitude")
    private String longitude;
    /***
     * 0非自营 1自营
     */
    @SerializedName("selfSupportTag")
    private String selfSupportTag;
    @SerializedName("provinceNo")
    private String provinceNo;
    @SerializedName("provinceName")
    private String provinceName;

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getIsAuth() {
        return isAuth;
    }

    public void setIsAuth(String isAuth) {
        this.isAuth = isAuth;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getAuthYear() {
        return authYear;
    }

    public void setAuthYear(String authYear) {
        this.authYear = authYear;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMainBusiness() {
        return mainBusiness;
    }

    public void setMainBusiness(String mainBusiness) {
        this.mainBusiness = mainBusiness;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getSelfSupportTag() {
        return selfSupportTag;
    }

    public void setSelfSupportTag(String selfSupportTag) {
        this.selfSupportTag = selfSupportTag;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        SupplierRecommendEntity that = (SupplierRecommendEntity) o;
        return Objects.equals(latitude, that.latitude) &&
                Objects.equals(longitude, that.longitude);
    }

}
